STDOUT.sync = true
require 'Json.rb'

filename = "tmp_json_status.txt"
url = "localhost"
path_status = "/cgi-bin/Game/status.cgi"
port = 10080


#url = "www.yahoo.co.jp"
#path = "/"
#port = 80

data = Json::get_json(url, path_status, port)
p data

f = open("output_cgi-status.txt", "w")
f.puts(data)
